import config from "@/config"
import http from "@/utils/request"

export default {
	list: {
		url: `${config.API_URL}/sign/list`,
		get: async function(data,  config={}){
			return await http.get(this.url, data,  config);
		}
	},
	add: {
		url: `${config.API_URL}/sign/add`,
		post: async function(data) {
			return await http.post(this.url, data);
		}
	},
	edit: {
		url: `${config.API_URL}/sign/edit`,
		post: async function(data) {
			return await http.post(this.url, data);
		}
	}
}